import http from '@/utils/http'

//获取学生实验基本介绍列表
export async function getStudentPreviewApi(params) {
  return await http.get("/preview/student", params)
}
//获取老师实验基本介绍列表
export async function getTeacherPreviewApi(params) {
  return await http.get("/preview/teacher", params)
}
//修改实验内容
export async function updatePreviewApi(params) {
  return await http.put("/preview",params)
}

export async function addPreviewApi(params) {
  return await http.post("/preview",params)
}

export async function getClassListApi() {
    return await http.get("/common/class")
  }

  export async function deletePreviewApi(params) {
    return await http.delete("/preview",params)
  }